package com.base.server.sys.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.base.server.sys.enums.SysDictTypeCode;
import com.base.server.sys.pojo.SysDict;
import com.system.handle.model.ResponseFrame;

@Component
public interface SysDictService {

	public SysDict get(String typeCode, String dictId);
	public ResponseFrame saveOrUpdate(SysDict sysDict);
	public ResponseFrame pageQuery(SysDict sysDict);
	public ResponseFrame delete(String typeCode, String dictId);
	public ResponseFrame deleteByTypeCode(String typeCode);
	public String getValue(SysDictTypeCode sysDictTypeCode, String dictId);
	public String getValue(String typeCode, String dictId);
	public List<SysDict> findByTypeCode(String typeCode);

}